window.amisJSON = 
{
    "css": {
        ".loginClass": {
            "display": "flex",
            "flex-direction": "row",
            "justify-content": "center",
            "align-items": "center"
        }
    },
    "type": "page",
    "title": "平台用户登录",
    "subTitle": "输入用户名、密码和验证码登录平台。",
    "body": [{
            "className": "w-xxxl",
            "panelClassName": "",
            "autoFocus": true,
            "type": "form",
            "name": "login-form",
            "title": "用户登录",
            "body": [{
                    "clearable": false,
                    "className": "",
                    "label": "用户名",
                    "type": "input-text",
                    "required": true,
                    "name": "username",
                    "id": "u:dcc6d1fe6032",
                    "placeholder": "请输入用户名"
                }, {
                    "showCounter": false,
                    "label": "密码",
                    "type": "input-password",
                    "required": true,
                    "name": "password",
                    "validationErrors": {},
                    "id": "u:ecb2ec69aca2",
                    "validations": {},
                    "placeholder": "请输入密码"
                }, {
                    "label": "验证码",
                    "type": "input-group",
                    "body": [{
                            "label": "验证码",
                            "type": "input-text",
                            "mode": "horizontal",
                            "name": "captcha",
                            "required": true,
                            "id": "u:e6a88e6c20d5",
                            "placeholder": "请输入验证码",
                            "inputClassName": "b-r-none p-r-none"
                        }, {
                            "type": "button",
                            "body": {
                                "type": "tpl",
                                "tpl": "<img height=\"24\" src=\"${__mamis__contextPath}/captcha.png?t=${t}\" />"
                            },
                            "onEvent": {
                                "click": {
                                    "actions": [{
                                            "actionType": "setValue",
                                            "componentId": "u:0b0f80aa1b55",
                                            "args": {
                                                "value": {
                                                    "t": "${now()}"
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    ]
                }, {
                    "label": "",
                    "type": "input-group",
                    "body": [{
                            "type": "button-toolbar",
                            "buttons": [{
                                    "type": "button",
                                    "label": "登录",
                                    "id": "u:58b657a18e86",
                                    "actionType": "submit",
                                    "size": "md",
                                    "block": false,
                                    "level": "primary"
                                }, {
                                    "type": "button",
                                    "label": "重置",
                                    "id": "u:0ccadc8911aa",
                                    "actionType": "reset",
                                    "level": "light"
                                }
                            ],
                            "id": "u:8e80eba02000"
                        }
                    ],
                    "name": "",
                    "id": "u:4ff823e9b073",
                    "mode": "horizontal",
                    "size": "full"
                }
            ],
            "canAccessSuperData": false,
            "mode": "horizontal",
            "submitText": "登录",
            "id": "u:2fec64522083",
            "wrapWithPanel": false,
            "api": {
                "method": "post",
                "url": "/login"
            },
            "redirect": "${redirect || __mamis__contextPath || '/'}"
        }
    ],
    "pullRefresh": {},
    "bodyClassName": "loginClass",
    "messages": {},
    "id": "u:0b0f80aa1b55"
}
